{extend name="public/common"} {block name="body"}
<title>基本设置</title>
</head>
<style type="text/css">
.bg-1 {
  	height: 40px;
	background-color: #e5e5e5;
	border-bottom: 1px solid #e4e7ed;
}
 .radius1:hover{
 	color: #fff;
	border-color: #66b1ff;
	background-color: #66b1ff;
 }
 span:hover{
 	color: #333;
 }
 .btn-primary1 {
    color: #fff;
    background-color: #5a98de;
    border-color: #5a98de;
    height: 31px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 24px !important;
}
.text-c td a.zt_color {
    text-decoration: none !important;
    color: #333;
}
</style>
<body>
  <nav class="breadcrumb">
    <i class="Hui-iconfont">&#xe67f;</i>
    系统管理
    <span class="c-gray en">&gt;</span>
    运营管理
    <span class="c-gray en">&gt;</span>
    公告列表
    <a class="btn btn-success radius r"
      style="line-height: 1.6em; margin-top: 3px"
      href="javascript:location.replace(location.href);" title="刷新">
      <i class="Hui-iconfont">&#xe68f;</i>
    </a>
  </nav>
  <div style="padding:20px;height:30px;">
  	
  	<div class="new_box">
  <div class="cl pd-5 bg-1 bk-gray mt-20"> <span class="l"><a style="color: #fff;background-color: #636363;border-color: #636363;" href="/admin/Operate/yx_ggnew?id=69&cid=65" class="btn btn-primary radius">新增公告 </a></span></div>


<form style="font-size: 12px"
		action="/admin/operate/yx_ggpx" method="post">
     <div class="page-container">
      <div id="tab-system" class="HuiTab">
        <div class="tabCon">
          <div class="mt-20">
            <table
              class="table table-border table-bordered table-bg table-hover table-sort table-responsive">
              <thead>
                <tr class="text-c">
                  <th>ID</th>
                  <th>公告标题</th>
                  <th>发布时间</th>
                  <th>发布人</th>
                  <th>类型</th>
                  <!--<th>PC端是否显示</th>-->
                  <th>状态</th>
                  <th>首页滚动</th>
                  <th>排序</th>
                  <th>操作</th>
                </tr>
                
              </thead>
              <tbody>{volist name="list" id="DL"}
              
                <tr class="text-c">
                  <td>{$DL.id}</td>
                  <td><a class="zt_color" title='{$DL.title}'
							style='display: block; width: 150px; margin: 0 auto; text-align: center; background: none; border: none; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; word-break: keep-all;'>{$DL.title}</td>
                  <td>{$DL.fatime|date="Y-m-d H:i:s",###}</td>
                  <td>{$DL.faren}</td>
                  <td><a href='javascript:;' class="zt_color">{$DL['xianshi']==1 ? '平台公告' : '系统公告'}</a></td>
                  <!--<td><a href='/admin/operate/yx_ggfb?id={$DL.id}&fb=web' title='电脑发布'>{$DL['suggest_web']==1 ? '是' : '否'}</a></td>-->
                  <td><a href='/admin/operate/yx_ggfb?id={$DL.id}&fb=mobile' title='手机发布'>{$DL['suggest_mobile']==1 ? '有效' : '无效'}</a></td>
                  <td><a href='/admin/operate/yx_ggfb?id={$DL.id}&fb=roll'>{$DL['is_roll']==1 ? '是' : '否'}</a></td>
                  <td><input name='GGPX_{$DL.id}' value='{$DL.paixu}' style='width: 50px; text-align: center' /></td>
                  <td>
					<a href='/admin/operate/yx_ggxg?id={$DL.id}' title='修改公告'><i class="Hui-iconfont">&#xe6df;</i></a>
					<a  title='删除' href="javascript:;"onclick="if(confirm('是否确认操作？')) {window.location.href='/admin/operate/DelAnnouncement?id={$DL.id}'}" >
						<i class="Hui-iconfont">&#xe6e2;</i>
					</a>
				</td>
                     {/volist}
                </tr>
              
              </tbody>
            </table>
          </div>
        </div>
      </div>
    </div>
    
    <input type="submit" class="btn btn-primary radius radius1 btn-primary1"
				value="保存排序" style="margin-left: 20px;"/>（注：排序的数值越大排名越靠前）
</form>

</div>
		</div>
{/block}{block name="js"}
 <script type="text/javascript" src="__SYSMET__/lib/My97DatePicker/4.8/WdatePicker.js"></script> 
<script type="text/javascript">
    $(function() {
  $('.skin-minimal input').iCheck({
    checkboxClass : 'icheckbox-blue',
    radioClass : 'iradio-blue',
    increaseArea : '20%'
  });
  $("#tab-system").Huitab({
    index : 0
  });
});
</script>

{/block}
